package com.base.cn.platform.os.service.course.open;

import com.base.cn.platform.os.service.FeignAuthConfig;
import com.base.cn.platform.os.service.course.CourseBaseService;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.Map;

/**
 * 免费直播预约接口
 *
 * @author s.li
 * @create 2018-09-11-16:26
 */
@FeignClient(name = CourseBaseService.appName,configuration = FeignAuthConfig.class)
public interface CourseOpenBespeakService extends CourseBaseService {

    /**
     * 预约免费直播
     * @param courseOpenBespeak
     * @return Map<String,Object>
     */
    @RequestMapping(contextPath + "/saveBespeak")
    Map<String,Object> saveBespeak(@RequestBody Map<String, Object> courseOpenBespeak);
}
